<%@ page contentType="text/html;charset=UTF-8" language="java"
         import="java.util.*,edu.cnu.tpts.bean.*,edu.cnu.tpts.dao.*,edu.cnu.tpts.dao.impl.*" %>
<html>
<head>

    <title>login</title>
    <link rel="stylesheet" type="text/css" href="/css/main.css">
</head>
<body>
<div id="header">

</div>

<div id="menu">
  

</div>

<div class="table">
    <table style="margin-left:300px;margin-top:150px;">
        <%
            String error = (String) request.getAttribute("error");
            if (error != null) {
                out.print(error);
            }

        %>
        <form action="dologin.jsp" method="post">
            用户名<input type="text" name="loginname"><br>
            密 &nbsp;&nbsp;码<input type="password" name="password"><br>
            <input type="radio" name="type" value="1" checked>教师
            <input type="radio" name="type" value="2">学生
            <input type="radio" name="type" value="3">管理员<br>
            <input type="submit" value="登录">
        </form>
        <br>
        <a href="student/register_stu.jsp">学生注册入口</a>
        <a href="teacher/register_tea.jsp">教师注册入口</a>


    </table>

</div>

<div id="copyright">
    <div align="center">
        <font face="Tahoma, Verdana" color="#ffffff">Copyright &copy; 首都师范大学版权所有<br>

            地址：北京市西三环北路105号 100048&nbsp;&nbsp;&nbsp;&nbsp; E-mail: </font><font face="Tahoma, Verdana">

    </font>
    </div>

</div>

</body>
</html>